<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class null_mutex</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../interprocess/indexes_reference.html#doxygen.boost_interprocess_header_reference.null__mutex_8hpp" title="Header &lt;boost/interprocess/sync/null_mutex.hpp&gt;">
<link rel="prev" href="classboost_1_1interprocess_1_1named__upgradable__mutex.html" title="Class named_upgradable_mutex">
<link rel="next" href="classboost_1_1interprocess_1_1scoped__lock.html" title="Class template scoped_lock">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1interprocess_1_1named__upgradable__mutex.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../interprocess/indexes_reference.html#doxygen.boost_interprocess_header_reference.null__mutex_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1interprocess_1_1scoped__lock.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class null_mutex</span></h2>
<p>boost::interprocess::null_mutex</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../interprocess/indexes_reference.html#doxygen.boost_interprocess_header_reference.null__mutex_8hpp" title="Header &lt;boost/interprocess/sync/null_mutex.hpp&gt;">boost/interprocess/sync/null_mutex.hpp</a>&gt;

</span>
<span class="keyword">class</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html" title="Class null_mutex">null_mutex</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>

  <span class="comment">// <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#id100-bb">public member functions</a></span>
  <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a89aa465ae3c91c20ef9cdf3eded08e92"><span class="identifier">null_mutex</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7b03b708bbeb316a300a36da69d9a1c5"><span class="special">~</span><span class="identifier">null_mutex</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a33e4f2e8bc26c8968462356fb184d671"><span class="identifier">lock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1adfabbb452b623ba44c2ebca317e4b714"><span class="identifier">try_lock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a3955ebdb81976707a755d411b0924347"><span class="identifier">timed_lock</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a478902b38b28bf6c88ddc083f8cf09c8"><span class="identifier">try_lock_until</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Duration<span class="special">&gt;</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a85e679aa082a604efd95f79b372e1333"><span class="identifier">try_lock_for</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Duration</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a4c884813de8b96d19ad9e6314f556725"><span class="identifier">unlock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1ad133f07766e77abffcdb009d87e9dacb"><span class="identifier">lock_sharable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a4c1bf0cdcf97f6d57ab9988417465a3f"><span class="identifier">lock_shared</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a48e8b5bd3f528a3dc7790e3a151202d9"><span class="identifier">try_lock_sharable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a1de5848ec05aefc4d5dfec9a040820f5"><span class="identifier">try_lock_shared</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a39336fba529371c7b9d01f7c0488e9c4"><span class="identifier">timed_lock_sharable</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a8cf71f83414d420f0a18647776a6a697"><span class="identifier">unlock_sharable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7e48a2bb033fd7628ed372f0fdd2a70e"><span class="identifier">unlock_shared</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a589c30f79c77404078afd1ff622864f8"><span class="identifier">lock_upgradable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a07882510548d012d6f25a6a4886dc544"><span class="identifier">try_lock_upgradable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa8bbc0695c0797efb4b2aa046caed55f"><span class="identifier">timed_lock_upgradable</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5d832cdad13bebc26bac8d08a66ac7b"><span class="identifier">unlock_upgradable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6c3f44d7ce3a7851a9cdf028e7783a04"><span class="identifier">unlock_and_lock_upgradable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7f55e798c8b680a2d91b6e3b56301435"><span class="identifier">unlock_and_lock_sharable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aefbc69b16d380edaa63719d73d34ad6b"><span class="identifier">unlock_upgradable_and_lock_sharable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a034d2c49f31cfd8dd748bfb585621c9d"><span class="identifier">unlock_upgradable_and_lock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a2e20f0c752e40f96953c4939f87aacb2"><span class="identifier">try_unlock_upgradable_and_lock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> 
    <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5c3a419b93dddb81e2c2fad249ac040"><span class="identifier">timed_unlock_upgradable_and_lock</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a81fd610cac0dae80dfe07847ba65bae1"><span class="identifier">try_unlock_sharable_and_lock</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6146d7ca5040e1d15bae4941ede479cb"><span class="identifier">try_unlock_sharable_and_lock_upgradable</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.16.19.3.74.4.4"></a><h2>Description</h2>
<p>Implements a mutex that simulates a mutex without doing any operation and simulates a successful operation. </p>
<div class="refsect2">
<a name="id-1.3.16.19.3.74.4.4.3"></a><h3>
<a name="id100-bb"></a><code class="computeroutput">null_mutex</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a89aa465ae3c91c20ef9cdf3eded08e92"></a><span class="identifier">null_mutex</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Constructor. Empty. </p>
</li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7b03b708bbeb316a300a36da69d9a1c5"></a><span class="special">~</span><span class="identifier">null_mutex</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Destructor. Empty. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a33e4f2e8bc26c8968462356fb184d671"></a><span class="identifier">lock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a33e4f2e8bc26c8968462356fb184d671">lock()</a> operation. Empty function. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1adfabbb452b623ba44c2ebca317e4b714"></a><span class="identifier">try_lock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1adfabbb452b623ba44c2ebca317e4b714">try_lock()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a3955ebdb81976707a755d411b0924347"></a><span class="identifier">timed_lock</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a3955ebdb81976707a755d411b0924347">timed_lock()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a478902b38b28bf6c88ddc083f8cf09c8"></a><span class="identifier">try_lock_until</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Same as <code class="computeroutput">timed_lock</code>, but this function is modeled after the standard library interface. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Duration<span class="special">&gt;</span> <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a85e679aa082a604efd95f79b372e1333"></a><span class="identifier">try_lock_for</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Duration</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Same as <code class="computeroutput">timed_lock</code>, but this function is modeled after the standard library interface. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a4c884813de8b96d19ad9e6314f556725"></a><span class="identifier">unlock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a4c884813de8b96d19ad9e6314f556725">unlock()</a> operation. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1ad133f07766e77abffcdb009d87e9dacb"></a><span class="identifier">lock_sharable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1ad133f07766e77abffcdb009d87e9dacb">lock_sharable()</a> operation. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a4c1bf0cdcf97f6d57ab9988417465a3f"></a><span class="identifier">lock_shared</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Same as <code class="computeroutput">lock_sharable</code> but with a std-compatible interface </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a48e8b5bd3f528a3dc7790e3a151202d9"></a><span class="identifier">try_lock_sharable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a48e8b5bd3f528a3dc7790e3a151202d9">try_lock_sharable()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a1de5848ec05aefc4d5dfec9a040820f5"></a><span class="identifier">try_lock_shared</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Same as <code class="computeroutput">try_lock_sharable</code> but with a std-compatible interface </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a39336fba529371c7b9d01f7c0488e9c4"></a><span class="identifier">timed_lock_sharable</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a39336fba529371c7b9d01f7c0488e9c4">timed_lock_sharable()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a8cf71f83414d420f0a18647776a6a697"></a><span class="identifier">unlock_sharable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a8cf71f83414d420f0a18647776a6a697">unlock_sharable()</a> operation. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7e48a2bb033fd7628ed372f0fdd2a70e"></a><span class="identifier">unlock_shared</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Same as <code class="computeroutput">unlock_sharable</code> but with a std-compatible interface </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a589c30f79c77404078afd1ff622864f8"></a><span class="identifier">lock_upgradable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a589c30f79c77404078afd1ff622864f8">lock_upgradable()</a> operation. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a07882510548d012d6f25a6a4886dc544"></a><span class="identifier">try_lock_upgradable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a07882510548d012d6f25a6a4886dc544">try_lock_upgradable()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa8bbc0695c0797efb4b2aa046caed55f"></a><span class="identifier">timed_lock_upgradable</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa8bbc0695c0797efb4b2aa046caed55f">timed_lock_upgradable()</a> operation. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5d832cdad13bebc26bac8d08a66ac7b"></a><span class="identifier">unlock_upgradable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates a mutex <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5d832cdad13bebc26bac8d08a66ac7b">unlock_upgradable()</a> operation. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6c3f44d7ce3a7851a9cdf028e7783a04"></a><span class="identifier">unlock_and_lock_upgradable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6c3f44d7ce3a7851a9cdf028e7783a04">unlock_and_lock_upgradable()</a>. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7f55e798c8b680a2d91b6e3b56301435"></a><span class="identifier">unlock_and_lock_sharable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a7f55e798c8b680a2d91b6e3b56301435">unlock_and_lock_sharable()</a>. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aefbc69b16d380edaa63719d73d34ad6b"></a><span class="identifier">unlock_upgradable_and_lock_sharable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aefbc69b16d380edaa63719d73d34ad6b">unlock_upgradable_and_lock_sharable()</a>. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a034d2c49f31cfd8dd748bfb585621c9d"></a><span class="identifier">unlock_upgradable_and_lock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a034d2c49f31cfd8dd748bfb585621c9d">unlock_upgradable_and_lock()</a>. Empty function. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a2e20f0c752e40f96953c4939f87aacb2"></a><span class="identifier">try_unlock_upgradable_and_lock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a2e20f0c752e40f96953c4939f87aacb2">try_unlock_upgradable_and_lock()</a>. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimePoint<span class="special">&gt;</span> 
  <span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5c3a419b93dddb81e2c2fad249ac040"></a><span class="identifier">timed_unlock_upgradable_and_lock</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">TimePoint</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1aa5c3a419b93dddb81e2c2fad249ac040">timed_unlock_upgradable_and_lock()</a>. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a81fd610cac0dae80dfe07847ba65bae1"></a><span class="identifier">try_unlock_sharable_and_lock</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a81fd610cac0dae80dfe07847ba65bae1">try_unlock_sharable_and_lock()</a>. Equivalent to "return true;" </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6146d7ca5040e1d15bae4941ede479cb"></a><span class="identifier">try_unlock_sharable_and_lock_upgradable</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Simulates <a class="link" href="classboost_1_1interprocess_1_1null__mutex.html#doxygen.boost_interprocess_header_reference.classboost_1_1interprocess_1_1null__mutex_1a6146d7ca5040e1d15bae4941ede479cb">try_unlock_sharable_and_lock_upgradable()</a>. Equivalent to "return true;" </p>
</li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2005-2024 Ion Gaztanaga<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1interprocess_1_1named__upgradable__mutex.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../interprocess/indexes_reference.html#doxygen.boost_interprocess_header_reference.null__mutex_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1interprocess_1_1scoped__lock.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
